//
// Created by wze-zero on 2024/9/4 004.
//
#include <iostream>

using namespace std;

int main() {
    char c;
    while (cin >> c) {
        c >= 'A' && c <= 'z' ? cout << c << " is an alphabet." << endl : cout << c << " is not an alphabet." << endl;
    }
    return 0;
}